<!-- +----------------------------------------------------------------------
| 麦沃德科技赋能开发者，助力中小企业发展 
+----------------------------------------------------------------------
| Copyright (c) 2017～2024  www.wdadmin.cn    All rights reserved.
+----------------------------------------------------------------------
| 沃德代驾系统并不是自由软件，不加密，并不代表开源，未经许可不可自由转售和商用
+----------------------------------------------------------------------
| Author: MY WORLD Team <bd@maiwd.cn>   www.wdadmin.cn
+----------------------------------------------------------------------
| 系统维护 开发者: 麦沃德科技-半夏
+---------------------------------------------------------------------- -->

<template>
	<view class="container">
		<view class="container-main">
			<image class="main-icon" src="/static/error.png" mode="widthFix"></image>
			<view class="main-tips">
				<text class="text">系统更新维护中</text>
				<text class="text">将在完成更新后尽快恢复服务</text>
			</view>
			<!-- #ifdef MP-WEIXIN -->
			<button class="main-btn" :style="{background: themeColor}" open-type="contact">点击按钮，联系客服</button>
			<!-- #endif -->
		</view>
	</view>
</template>

<script>
	import { mapState } from "vuex"
	export default {
		computed: {
			...mapState({
				themeColor: state => state.app.themeColor,
			})
		},
	}
</script>

<style lang="scss">
	page {
		background: #ffffff;
	}

	.container {
		.container-main {
			padding: 144rpx 32rpx 32rpx;
			display: flex;
			flex-direction: column;
			align-items: center;

			.main-icon {
				width: 45vw;
				height: auto;
			}

			.main-tips {
				padding-top: 24rpx;
				display: flex;
				flex-direction: column;
				align-items: center;

				.text {
					margin-top: 8rpx;
					color: #5A5B6E;
					font-size: 32rpx;
					font-weight: 600;
					line-height: 44rpx;
				}
			}

			.main-btn {
				margin-top: 40rpx;
				color: #ffffff;
				font-size: 28rpx;
				line-height: 40rpx;
				padding: 16rpx 32rpx;
				border-radius: 8rpx;
				background: #F9602E;
			}
		}
	}
</style>